package com.wxj.book.cms.service;

import com.github.pagehelper.PageInfo;
import com.wxj.book.cms.pojo.Major;

import java.util.List;

public interface MajorService {
    PageInfo<Major> getAll(Integer pageNum, Integer pageSize);

    int updateMajor(Major major);

    int deleteById(Integer majorId);

    List<Major> getMajor();
}
